package com.wyh.edu.dao;

import com.wyh.edu.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author wuyuhan
 * @date 2021/2/4 23:14
 */
@Repository
public interface UserDao extends JpaRepository<User, Integer> {
    User findFirstByEmail(String email);
}
